﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CarsModel;
using CarsDal;

namespace CarsBll
{
    public class CarsTypeBll
    {
        CarsTypeDal dal = new CarsTypeDal();
        public List<CarsType> CarsTypeList(int id)
        {
            List<CarsType> list = dal.CarsTypeList();
            List<CarsType> CarsTypeList = list.Where(p => p.SetName == id).ToList();
            return CarsTypeList;
        }
    }
}
